package com.longbig.dto;

import lombok.Data;
import org.w3c.dom.Document;
import org.w3c.dom.Element;

/**
 * @author: yyl
 * @date: 2025/4/15:08:53
 */
// 存储分叉网关和合并网关的对应关系
@Data
public class ParallelGatewayPair {
    private final Element forkGateway;
    private final Element joinGateway;

    public ParallelGatewayPair(Element fork, Element join) {
        this.forkGateway = fork;
        this.joinGateway = join;
    }

    public Element getForkGateway() { return forkGateway; }
    public Element getJoinGateway() { return joinGateway; }
}
